<%-- 
    Document   : slideshow
    Created on : Sep 20, 2012, 11:39:32 AM
    Author     : CUCAINHO
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html>
<div id="main_top">
                    <div id="main_top_data">
                            <div class="main_top_left">
                                <!--<img src="images/main_right.png" width="500" height="200" /> -->
                                    <div class="khung">
                                      <div class="main-product-info-right">
                                        <div class="slider-wrapper theme-default">
                                            <div id="slider" class="nivoSlider" style="position: relative; background-image:none); background-position: initial initial; background-repeat: no-repeat no-repeat; ">
                                                      
                                                <c:forEach  var="image" items="${danhSachHinh}">
                                                    <img class="" style="display: none; " id="det_img_2108801678" src="${image.url}" width="220" alt="" border="0">
                                               
                                                </c:forEach>
                                              
                                                </div>
                                        </div>
                                        </div>
                                    </div> <!--end div khung-->
                
                            </div>
                            <div class="main_top_right">
                               <!-- BEGIN thong tin deal-->
                               		
                                 <table class="chitiet_top">
                                      <tr>
                                            <td colspan="5"><span class="deal_name">${dealtop.tenDeal}</span></td>
                                            
                                      </tr>
                                   <!--<tr>
                                           <td colspan="5"><span class="deal_detail">Thỏa Thích Thưởng Thức Tiệc Hải Sản - Ốc Thơm Ngon Hấp Dẫn Với Buffet Hải Sản - Ốc 80 Món Tại Nhà Hàng Hải Sản Phú Khang. Voucher 319.000 VNĐ, Còn 199.000 VNĐ, Giảm 38%. </span> </td>
                                      </tr> -->
                                      <tr>
                                      		<td width="50px"> <img src="images/gia.png" width="50" height="50" /> </td>                                            
                                            <td colspan="1"> <span class="deal_gia">${dealtop.giaGiam}</span></td>                                         
                                        	<td colspan="1"><span class="deal_gia_giam">Giá gốc: ${dealtop.giaGoc}</span></td>                                          
                                            <td colspan="2"><span class="deal_persen_giam">${dealtop.tiLeGiam}%</span></td>
                                      </tr>
                                      
                                      <tr>                                       
                                        <td><div class="deal_name_title">số phiếu đã bán</div></td>
                                        <td><div class="deal_name_title">số phiếu còn lại</div></td> 
                                        <td><div class="deal_name_title">số phiếu tối thiểu</div></td>
                                        <td><div class="deal_name_title">số phiếu tối đa</div></td>
                                        <td></td>
                                      </tr>
                                      <tr>                                       
                                        <td>
                                        	<div class="deal_sophieudaban">${dealtop.soPhieuDaBan}</siv>
                                        </td>
                                        <td>
                                        	<div class="deal_sophieudaban">${dealtop.soPhieuConLai}</div>
                                        </td> 
                                        <td>
                                        	<div class="deal_sophieudaban">${dealtop.soPhieuToiThieu}</div>
                                        </td>
                                        <td>
                                        	<div class="deal_sophieudaban">${dealtop.soPhieuToiDa}</div>
                                        </td>
                                        <td></td>
                                      </tr>
                                    
                                      <tr>
                                      		<td colspan="2"><span class="deal_thoigianconlai">Còn lại: 5 ngày</span></td>
                                            <td>
                                            </td>
                                            <td colspan="3"><a href="main?page=ChiTietDeal&id=${dealtop.maDeal}"> <img width="90" height="90" src="images/xem.jpg" /></a></td>                                           
                                        
                                      </tr>
                                      
                                      
                                </table>

                                    
                               <!-- END thong tin deal-->
                            </div>
                    </div>
                </div> <!--end div main top-->
                
